// 获取详情接口
import request from '@/utils/http'


/**
 * 获取详情接口
 * @returns {*}
 */
export const getCheckInfoAPI = () => {
	return request({
		url: "/member/order/pre"
	})
}


/**
 * 创建订单
 * @param data 订单对象
 * @returns {*}
 */
export const createOrderAPI = (data) => {
	return request({
		url: "/member/order",
		method: "POST",
		data
	})
}
